$ = jQuery;
$(function() {

    $('.raty').raty({
        starOff: baseUrl + '/assets/raty/images/star-off.png',
        starOn: baseUrl + '/assets/raty/images/star-on.png',
        score: function() {
            return $(this).attr('data-score');
        }
    });

    $(".bxslider li img").elevateZoom({
        zoomWindowFadeIn: 500,
        zoomWindowFadeOut: 500,
        lensFadeIn: 500,
        lensFadeOut: 500
    });

    $('.bxslider').bxSlider({
        pagerCustom: '#bx-pagers'
    });
 
    $('.bx-viewport').height('300px'); 
    $('.bxslider > li').width('332px');
    
    $('.cart-options .colors span').click(function() {
        var color_val = $(this).attr('id');
        $('.cart-options .product_color').val(color_val);
    });
    
    
    

});